<?php
/**
 * XHTML_Event_Attributes, xhtml_lib
 * 
 * This file contains the source code for the XHTML_Event_Attributes interface.
 * @author Fernando Jimenez Mocobono <fjmcool@gmail.com>
 * @version 0.1
 * @package xhtml_lib
 */

/**
 * The XHTML_Event_Attributes interface specifies the event attributes getters and setters
 * for a xhtml-strict php-handler implementation.
 */
interface XHTML_Event_Attributes {
    
    /**
     * Sets the onclick event script for this element.
     *
     * @param string $script
     */
    function setOnClick($script);
    
    /**
     * Gets the onclick event script that has been set for this element.
     * 
     * @return string
     */
    function getOnClick();
    
    /**
     * Sets the ondblclick event script for this element.
     *
     * @param string $script
     */
    function setOnDblClick($script);
    
    /**
     * Gets the ondblclick event script that has been set for this element.
     *
     * @return string
     */
    function getOnDblClick();
    
    /**
     * Sets the onmousedown event script for this element.
     *
     * @param string $script
     */
    function setOnMouseDown($script);
    
    /**
     * Gets the onmousedown event script that has been set for this element.
     *
     * @return string
     */
    function getOnMouseDown();
    
    /**
     * Sets the onmouseup event script for this element.
     *
     * @param string $script
     */
    function setOnMouseUp($script);
    
    /**
     * Gets the onmouseup event script that has been set for this element.
     *
     * @return string
     */
    function getOnMouseUp();
    
    /**
     * Sets the onmousemove event script for this element.
     *
     * @param string $script
     */
    function setOnMouseMove($script);
    
    /**
     * Gets the onmousemove event script that has been set for this element.
     *
     * @return string
     */
    function getOnMouseMove();
    
    /**
     * Sets the onmouseout event script for this element.
     *
     * @param string $script
     */
    function setOnMouseOut($script);
    
    /**
     * Gets the onmouseout event script that has been set for this element.
     *
     */
    function getOnMouseOut();
    
    /**
     * Sets the onkeypress event script for this element.
     *
     * @param string $script
     */
    function setOnKeyPress($script);
    
    /**
     * Gets the onkeypress event script that has been set for this element.
     *
     * @return string
     */
    function getOnKeyPress();
    
    /**
     * Sets the onkeydown event script for this element.
     *
     * @param string $script
     */
    function setOnKeyDown($script);
    
    /**
     * Gets the onkeydown event script that has been set for this element.
     *
     * @return string
     */
    function getOnKeyDown();
    
    /**
     * Sets the onkeyup event script for this element.
     *
     * @param string $script
     */
    function setOnKeyUp($script);
    
    /**
     * Gets the onkeyup event script that has been set for this element.
     *
     * @return string
     */
    function getOnKeyUp();
    
}

?>